Fix issue with allocator not considering subsequent clusters#10603
Fix issue with allocator not considering subsequent clusters#10603
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #10603 +/- ##
=========================================
Coverage 16.00% 16.01%
- Complexity 13104 13118 +14
=========================================
Files 5651 5651
Lines 495870 495895 +25
Branches 60049 60057 +8
=========================================
+ Hits 79370 79422 +52
+ Misses 407638 407617 -21
+ Partials 8862 8856 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
server/src/main/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocator.java
Show resolved
Hide resolved
|
oh, check-style error |
|
@blueorangutan package |
|
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12856 |
|
@blueorangutan test |
|
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian Build Failed (tid-12800) |
|
@blueorangutan test |
|
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-12801)
|
...-allocators/random/src/main/java/com/cloud/agent/manager/allocator/impl/RandomAllocator.java
Show resolved
Hide resolved
server/src/main/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocator.java
Show resolved
Hide resolved
...-allocators/random/src/main/java/com/cloud/agent/manager/allocator/impl/RandomAllocator.java
Show resolved
Hide resolved
|
|
@blueorangutan package |
|
@Pearl1594 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12905 |
|
@blueorangutan test |
|
@Pearl1594 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-12847)
|
…10603) * Fix issue with allocator not considering subsequent clusters * add missing return * remove unused import * update as per inputs



Description
This PR fixes: #10598
While #8611 seems to have fixed this issue in 4.19.1, I believe it got lost in the process of resolving merge conflicts / forward merging into 4.20.0.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?